package com.util;

import java.util.List;


public class PagedResult<T> extends BaseEntity {
	
	/**
	
	*/
	private static final long serialVersionUID = 1L;

	private List<T> dataList;        //数据
	
    private Integer rows = 0;        //包含实际数据的数组
    
    private Integer page = 0;       //当前页
    
    private Integer total = 0;      //总页数
    
    private Integer record = 0;     //查询出的记录数
    

	public List<T> getDataList() {
		return dataList;
	}

	public void setDataList(List<T> dataList) {
		this.dataList = dataList;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Integer getRecord() {
		return record;
	}

	public void setRecord(Integer record) {
		this.record = record;
	}
    
	
	
}
